<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: WS
  Date: 2020/5/25
  Time: 16:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改用户</title>
</head>
<body>
<s:form action="save" method="POST">
    <s:textfield label="id" name="user.id" value="%{user.id}" disabled="true"/>
    <s:textfield label="用户名" name="user.username" value="%{user.username}"/>
    <s:textfield label="原密码" name="oldpassword" value="%{user.password}"/>
    <s:textfield label="密码" name="user.password" type="password" value="%{user.password}"/>
    <s:textfield label="确认密码" name="password" type="password"/>
    <s:textfield name="user.registerDate" label="注册日期">
        <s:param name="value"><s:date name="user.registerDate" format="yyyy-MM-dd HH:mm:ss"/></s:param>
    </s:textfield>
    <s:submit value="提交"/>
</s:form>
</body>
</html>
